p 1q 1+p2q2=m
will
mu 1 = & amp; u 1/&q 1 = 1/3 * 1/q 1
Mu2=2/3* 1/q2
Substitutes are available.
q 1=m/3p 1
Q2= Do it yourself.
The second problem is algebra.