these are similar triangles so proportions hold. the short side to the bottom side proportion must be the same in both triangles. to solve it
25/30 = 35/x. (25+10=35 is the side of the bigger triangle
cross multiply and solve for x
25x=1050
x=1050/25=42