Jose has 4 times as many trading scares as Philippe. After Jose gave away 50 cards to his little brother and Philippe gave 5 cards to his friend for his birthday, they each had an equal amount of cards. Write a system to describe the situation and solve the system.