slove for P. 5/7=p+4/7