The music club had 5/8 as many members as the art club. When half of the art club left to join the music club, the music club had 40 more members than the art club. How many members did the art club have at first?
m = 5/8 a
then 1/2 a switch clubs
m + 1/2 a = 1/2 a + 40 sub in the red equation
5/8 a + 1/2a = 1/2 a + 40
a = 40 * 8/5 = 64 members originally