Concept:If a variable varies “partly as” one quantity and “partly inversely as” another, each part gets its own constant.Explanation:W varies partly as M.So one part of W is k1M, where k1 is a constant.W varies partly inversely as P.So the other part of W is Pk2, where k2 is a constant.Combining both parts gives the total relation:W=k1M+Pk2This matches option C.Answer:W=k1M+Pk2Therefore, the correct option is C.