Question

$$P=5x,q=3x-1.2pq=30 { x }^{ 2 } -10x$$

Solve for x

$x=\frac{q\left(6p+5\right)}{15}$
$P=2pq+\frac{5q}{3}$