Write as a Function of Q Q=30-P