Let "s" represent the amount saved in the bank account and "c" the number of cakes sold.
Jane (J)
Has a starting balance of $70 and she sells "c" cakes for $25 each, you can symbolize the earnings of the cake sales as 25c
You can express the total amount saved using the following expression

Miriam (M)
Has a starting balance of $100 and shells cakes for $20 each, you can symbolize the total earnings for her cakes sales as 20c
So the total amount saved can be expressed as:

a) To determine how many cakes they must sell so that their savings will be the same, you have to equal both expressions and calculate the value of c:

To calculate for c, the first step is to pass the term containing the variable to the left by applying the opposite operation to both sides of the equal sign:

Repeat the process to pass 70 to the right side of the expression

And divide both sides by 5 to reach the value of c

After selling 6 cakes both Jae and Miriam will have saved the same amount.
b)
To determine what will their savings be, you have to replace either one of the expressions with c=6 and calculate for s:

If you solve it using Miriam's expression the result must be the same:

As you see using either equation we arrived to the same result, after selling 6 cakes their total saves will be $220