Eva is 2 years younger than Ravin, so her age will be= g-2 years old
The sum of their ages will be = g + (g-2)
= 2g -2
After g more years,
Ravin will be = g + g = 2g years old
Eva is still 2 years younger, so she will be = 2g - 2 years old.
The new sum of their ages will be
= 2g + (2g - 2) = 4g - 2 years