You can put this solution on YOUR website! Let be Jill's age.
Let be Jack's age.
1.
In 8 years, Jill will be A+8, I assume you mean 3 times his age right now (because otherwise it doesn't work)
2.
Substitute eq. 1 into eq. 2,
From eq. 1,
Jack is 10 and Jill is 22 years old.