Through a point on the hypotenuse of a right triangle, lines are drawn parallel to the legs of the triangle so that the triangle is divided into a square with two smaller right triangles. The area of one of the two small right triangle is m times the area of the square. The ratio of the area of the other small right triangle to the area of the square is

a) 1/2m+1 b) m c) 1-m d) 1/4m e) 1/8msquared

I got the answer d) but I am not sure how I got the same answer for the different triangles.

Could someone please take a look at my work?

Vicky.