To do this, you can first express the percentages as decimals, like this

Later, you can take
x = number of ounces of solution A
y = number of ounces of solution B
And build the following system of linear equations

To solve it you can use the substitution method, for example.
Solve for x from the first equation and substitute this value in the second equation

Now substituting in the second equation

Now plug the value of y into the first equation

So,

Therefore, the scientist should use 108 ounces of solution A and 72 ounces of solution B.