2/3b = 12
First you have to get rid of 2/3, so you multiply both sides by its reciprical:
(3/2) 2/3b = 12 (3/2) -->b = 36/2 --> b = 18
We need to set up a system, rather than a single equation, because there are two variables involved.
The first equation represents the fact that the two numbers are in a 3:2 ratio:

The second equation represents the fact that their sum is 35:

So, we have the following system:

Using the expression for x in the first equation, the second one becomes

which implies

5 dollars because she paid 30 for the meal