Jack's age is equal to three times his age in three years time minus three times her age three years ago.

How old is Jack?

x = 3(x+3) - 3(x-3)

Now just solve for x