Solve for a f/a=p