You can put this solution on YOUR website! Jenny's age=x
Amy is 2x
2x-5=3(x-5). that is five years ago.
distributing
2x-5=3x-15
moving the numbers and variable to opposite sides
x=10
Jenny is 10
Amy is 20
five years ago, they were 5 and 15 respectively.