Solve for n m/n=p-6