solving P06