\frac xy=p+\frac ab=\frac{pb+a}b