We will call the number of tickets you sell and the number your friend sells . Given this, we can create the first equation, which is:
This shows that the number of tickets you sold is equal to the number your friend sold + 14, which symbolizes that you sold 14 more tickets than your friend
We can also create the second equation:
This shows that the number of tickets you sold along with the number of tickets your friend sold is equal to 58 tickets in total