From the question we can say,

x-y x+y xy
--- = ---- = ---- = r
1 7 36

From this we get three equations,

x - y = r
x + y = 7r
xy = 36r

By solving these equations, we get the value of r=3, x=12, and y=9.
nimesh like this