Resizing a triangle. Why is my code not working?

Printable View