To answer this question, we can proceed as follows:
1. Let x be Amy's age.
2. Let y be Jonny's age.
Six years ago, we have that the ages were:
A ---> x - 6
J ---> y - 6
And we have that six years ago, Amy was twice as old Jonny. Then, we have:

Currently, Amy is 7 years older than Jonny:

Now we have the next equations:

And

Expanding the first equation:

Then, we have:

And the other equation can be rewritten as:

Then, we have the following system of equations:

Now, to solve this system, we can multiply the first equation by -1, and then add both resulting equations as follows:


Then, we have that Jonny's age is 13 years old. Therefore, Amy's age is:

Then, Amy is 20 years old, and Jonny is 13 years old.
We can check the result using the age of both of them six years ago:
Amy ---> 20 - 6 = 14
Jonny ---> 13 - 6 = 7
As we can see, 6 years ago Amy was twice as old as Jonny.
In summary, we have that Amy's age is 20 years old and Jonny is 13 years old.