Whimsy had 180 more male guppies than female guppies. She gave away 5/8 of the female guppies to a friend. In return her friend gave her 65 male guppies. As a result her male guppies are now 5 times the number of female guppies. How many guppies had she in the beginning?
Let m = original male guppies and f = original number of female guppies.
m = f + 180
m+65 = 5*(f-5f/8) or m+65 = 15f/8
Replace m in the last equation using the first equation f + 180 + 65 = 15f/8 or f + 245 = 15f/8
8f + 8*245 = 15f
8*245 = 7f
f = 280
Use first equation to get m then add m and f to get total.
.