let's say one term is x and the other is y.
x/y = 2/7 therefore x = (2/7)y
from the ratio above we know y must be bigger than x as x is proportionate to 2, y is proportionate to 7
therefore x = y - 40
we have two terms for x, equating them gives
(2/7)y = y - 40
(-5/7)y = -40 so y = 56
therefore x = 16
Ratio is 16:56
hope this answer helped u !!
plzz pick my answer as the best if u feel this answer helpful