Rosa and Marty had the same amount of money.After Rosa spent $45 and Marty spent $117, Rosa had 4 times as much money as Marty. How much money did Rosa have at first?

I don't know the answer to this one so can you show me how you got your answer and what's your answer?

original amount of Rosa and Marty --- x

after spending:
Rosa --- x-45
Marty --- x-117

now Rosa has 4 times as much as Marty
x-45 = 4(x-117)
x-45 = 4x - 468
-3x = -423
x =141

They both had 141

check: after spending:
Rosa had 141-45 = 96
marty had 141-117 = 24
Does Rosa have 4 times as much as Marty ??? YES!!

To solve this problem, let's break it down into steps:

Step 1: Let's assume that the initial amount of money Rosa and Marty both had is "x" dollars.

Step 2: After Rosa spent $45, she would have (x - 45) dollars left.

Step 3: Marty spent $117, so he would have (x - 117) dollars left.

Step 4: According to the problem, after Rosa spent $45, she had 4 times as much money as Marty. This can be written as the equation: (x - 45) = 4(x - 117)

Step 5: Now, solve the equation to find the value of x:

x - 45 = 4x - 468

Subtract x from each side:
-45 = 3x - 468

Add 468 to each side:
423 = 3x

Divide by 3:
x = 141

So, Rosa originally had $141.