You don't have to make this a COMPLEX solution by creating 2 separate variables. So, proceed as follows:
Let Jill's age be J
Then Jack's is 2J
We then get: 2J + 5 = 1.5(J + 5)
2J + 5 = 1.5J + 7.5
2J - 1.5J = 7.5 - 5
.5J = 2.5
Jill's age, or
You should now be able to find Jack's age!