Let "x" be the charge for manicures and let "y" be the charge for pedicures.
We can write the following system:

We're going to solve this system with the substitution method.
For this, we're going to solve the first equation for y:

And now, we're going to replace this expression for y in the second equation to solve a linear equation which is easier:

Now, solving, we got:

We could multiply the whole equation by 17 to make the process easier:

Therefore, x=16, so the charge for manicures is $16.
We're going to replace this value in any of both equations so we could find the value of y (The charge for pedicures)

Therefore, y=16, so the charge for pedicures is $27.