Emily and Jack decided to split the cost of a new video game. Emily pays $a and Jack pays $b. Together, their total payment is $34. If Emily pays $2 more than Jack, how much does each contribute?
Based on this information, set up the equations to solve for $a$ and $b$.