Short leg = 18 Long leg= 24 Hypotenuse= 30
My calculations were simple trial and error. I started with a trial of 10 for the short leg to begin with, averaging and estimating the appropriate proportions based off 6 additional increments. Sorry I don't have an algebraic method for you. Hope this has helped somewhat :)
Y - y1 = m(x - x1) slope(m) = 6/7 (-9,6)....x1 = -9 and y1 = 6 now we sub...pay close attention to ur signs y - 6 = 6/7(x - (-9)....not done yet y - 6 = 6/7(x + 9) <===