Seems like you had your minus signs backwards. Try y = 3 and y = -6
a right triangle. and in the future use this desmos.com to you
both equations and proportions are better.