Solve for q p = fifth root of (q-4m)/(7r)