She bought 60 shares at $15 and 90 shares at $12
Step-by-step explanation
to solve this we can use a system of equations
so
Step 1
set the equations
let x represents the number of shaper she bougth at $ 15
let x represents the number of shaper she bougth at $12
so
a)Mary Jo spends $1,980 to buy stock in two companies.

b)she ends up with a total of 150 shares,so

Step 2
now, solve the equations
![\begin{gathered} 15x+12y=1980\Rightarrow equation(1) \\ x+y=150\operatorname{\Rightarrow}\text{equat}\imaginaryI\text{on}\operatorname{\lparen}\text{2}\operatorname{\rparen} \end{gathered}]()
a) isolate the x value in equation (1) and replace the result in equation(1)

replace in equation (1) and solve for y

so,she bougth 90 shares at $12
b) now, replace the y value in equation (2) and solve for x

so, she bougth 60 shares at $15
therefore, the answer is
She bought 60 shares at $15 and 90 shares at $12
I hope this helps you