Answer:
If y varies directly with x, then y = kx for some constant k. We can solve for k using the given values of x and y:
y = kx
40 = k * 36
k = 40 / 36
k = 10 / 9
So the equation relating x and y is y = (10/9)x. To find x when y = 140, we can solve for x:
140 = (10/9)x
x = (9/10) * 140
x = 126
Therefore, when y is 140, x is 126