Alex,
G = age of girl
S = age of her sister
G = S-5
GS = 204
Using substitution
(S-5)(S) = 204
S2-5S = 204
and
S2 - 5S - 204 = 0
Now we can factor and solve for S.
(S+12)(S-17) = 0
S = -12, 17
But negative numbers are not possible so S = 17
The sister is 17.