Mary(m),
Ben(b)
Jane(j)
m = b +3
m = j - 5
where m = x
b = x - 3 and j = x + 5
b+ j → x - 3 + x + 5
= 2x +2
Jane and Ben have $(2x+2)