mx + nx = p solve for x
mx + nx = p You can factor x out of the mx + nx. x(m + n) = p Now, simply divide by the m + n. x = p / (m + n)