Reuben opens a sandwich shop selling his namesake sandwich and pastrami sandwiches. Pastrami cost $2 more than the Reuben. He sells 10 Reubens and 5 Pastrami sandwiches and earns $55. How much does a pastrami sandwich cost?
If X = "Price of Reuben" We know that 10(X) + 5(X+2) = 55.
Therefore 10X + 5X +10 =55.
Therefore 15X = 45.
Therefore, the price of a Reuben is $3 because 45 / 15 =
<gadget id="calculator">45/15</gadget>
<output>3</output>
3.
The price of pastrami is $5 because 3 + 2 = 
<gadget id="calculator">5</gadget>
<output>5</output>
5.

<result>5</result>