Question 1127566
p, how much Pinky had
2p, how much Richie had


2p-5, Richie's new amount
-
p+5, pinky's new amount
-
 pinky will have 5 pesos less than Richie has then. 
{{{p+5=(2p-5)-5}}}


{{{p+5=2p-10}}}

{{{5+10=p}}}

{{{p=15}}}


-----------------------------------------
How much money did Pinky and Richie have together originally?
-----------------------------------------


Pinky had 15 pesos.
Richie had 30 pesos.