solving P11