Shirley had 52 more coins than Jim after Jim gave 1/5 of his coins to her. If they had 260 coins in all, how many coins did Shirley have at first?

1 answer

at the beginning:
coins Jim had ---- x
coins Shirley had -- y

x+y = 260 ---->#1

after giveaway:
Jim ---- (4/5)x
Shirley -- y + (1/5)x = (5y + x)/5

(5y+x)/5 - (4/5)x = 52
5y + x - 4x = 260
-3x + 5y = 260 --->#2

solve the two equations