(a+c)/b=p
a+c=5/4
a^2+2ac+c^2=25/16
ac=1/4b^2
ac=1/4
a^2-2ac+c^2=25/16-4ac
(a-c)^2=9/16
a-c=3/4
a=1
c=1/4