Write a system of equations for each problem, and then solve the system.
The two longest-running shows in Broadway history were The Phantom of the Opera and Cats. As of October 7 , $2008,$ there had been a total of $16,088$ performances of the two shows, with 1118 more performances of The Phantom of the Opera than Cats. How many performances were there of each show?