Solve the formula M = 2P + 3Q for the variable Q.

To solve for Q, first subtract 2P from both sides of the equation:

M - 2P = 3Q

Next, divide both sides by 3 to isolate Q:

Q = (M - 2P) / 3

Therefore, Q = (M - 2P) / 3