Janelle has $ 20 and is saving $ 6 per week. April has $ 150 and spending $ 4 per week , when will they both have the same amount of money ?

i know by trial and error i will get 13 weeks, but how do i solve it by algebra ? please

Suppose you have $120 saved up, but spend it at a rate of $8 per week. At what point do you have no money left?

To solve this problem using algebra, we need to set up an equation.

Let's assume the number of weeks it takes for Janelle and April to have the same amount of money is represented by "x".

Janelle's total amount of money after "x" weeks would be: $20 + $6x
April's total amount of money after "x" weeks would be: $150 - $4x

Since we want both of them to have the same amount, we can set up the following equation:

$20 + $6x = $150 - $4x

Now, we can solve for "x".

First, let's combine the "x" terms on one side of the equation and the constant terms on the other side:

$6x + $4x = $150 - $20

Combining like terms:

$10x = $130

To solve for "x", divide both sides of the equation by $10:

x = $130 / $10

Simplifying, we get:

x = 13

Therefore, it will take 13 weeks for Janelle and April to have the same amount of money.

If w = weeks, I would use the equation: $20 + 6w = $150 - $4w. You can than solve this by finding w.