To determine how much money Ravi and Ramu had between them before Ramu’s win, we need to set up equations based on the problem's conditions. Let's denote Ramu's initial amount of money as \( x \) and Ravi's as \( x+3 \), since Ravi has Rs 3 more than Ramu. Initially, the total amount of money they have together is:
\( x + (x + 3) = 2x + 3 \).
After Ramu triples his money, he has \( 3x \). Ramu then has Rs 2 more than the original total amount of money of both boys, which can be expressed as:
\( 3x = (2x + 3) + 2 \).
Solving for \( x \):
\[ 3x = 2x + 5 \]
\[ 3x - 2x = 5 \]
\[ x = 5 \]
This tells us Ramu initially had Rs 5. Therefore, Ravi must have had:
\( x + 3 = 5 + 3 = 8 \).
Thus, the total amount of money they had initially is:
\( x + (x + 3) = 2x + 3 = 2(5) + 3 = 10 + 3 = 13 \).
Therefore, before Ramu’s win, they had Rs 13 between them.