Mr. Liu said to Xiaotian, "my age 18 years ago is the same as your age 6 years ago. Five years ago, my age was seven times your age. How old is Xiaotian this year?

Mr. Liu said to Xiaotian, "my age 18 years ago is the same as your age 6 years ago. Five years ago, my age was seven times your age. How old is Xiaotian this year?

Let's set Mr. Liu as X and Xiaotian as y this year
x-18=y-6
x-5=7(y-5)
x=19 y=7