How would I set this up?
(It's suppose to be a transformation.)

find the location of the points, multiply the y by 1/3
draw the new triangle using the new points you calculated.