For this case we have the following equation given:
[tex]150=8x+6y[/tex]From the info given we can see that
the variable x is the number of square tables
the variable y is the number of round tables
If y =9 then we can solve for x and we have this:
[tex]150-6y=8x[/tex]And solving for x we got:
[tex]x=\frac{150-6y}{8}[/tex]And replacing y=9 we got:
[tex]x=\frac{150-(6\cdot9)}{8}=12[/tex]