The ratio of the number of Tommy's game cards to that of Sean's game cards was 3:2. After Tommy gave 44 cards to Sean, the number of game cards Tommy had was 5/7 of what Sean had. Find the total number of game cards both of them had.
(3x - 44) / (2x + 44) = 5 / 7
x = 48
3x +2x = 240 (The total number of game cards both of them had)