solved p_2