x+(x-2)=128-(x-2)
2x-2=128-x+2
3x=132
x=44
44-2+44=86
Answer: the grandson is 44 years old and the grandfather is 86 years old.
Explanation: When the grandfather was as old as the grandson, the grandson was 2 years old, and the difference between them was x-2 years, so using the grandson's current age of x, and adding the difference of x-2 years, is the grandfather's current age. When the grandson is Grandpa's age, Grandpa is 128 years old, 128 - (x-2), or Grandpa's current age. The equation in terms of grandpa's years is: x+(x-2)=128-(x-2)