Answer:
1.429 Weeks
Explanation:
This problem is asking for the intersection point of two lines, or a systems of equations.
We know Valeria has 30 dollars to begin with, and spends 7 per session, meaning she loses 7 per session. Therefore her equation would be:

Brooke has 10 dollars, and gains 7 for every session Valeria attends. So her equation would be:

Knowing they both equal y we also know they are equal to each other, so lets create an equation and solve.
We start with the equation

Lets subtract 10 from both sides

Now add 7x to both sides

Now divide both sides by 14 to get the value of x

This can be simplified to

Or approximately
1.429