Jenny is 8 and Sammie is 17.
Let's use j for Jenny and s for Sammie.
Given that Jenny is 9 years younger than Sammie, j = s + 9. Five years ago, Sammie was 4 times older than Jennie, 4(j - 5) = (s - 5).
We'll substitute the value of x from equation 1 in equation 2:
4(s - 9 - 5) = (s - 5)
3s = 51
s = 17
Then, we plug in what we just learned for j = s - 9. This gives us 17 = s - 9, which means that j = 8, because 8 + 9 = 17.
Therefore, Jenny is 8 years old and Sammie 17 is years old.
I liked the Phineas and Ferb reference lol :) Happy to help, have a good day!