$B=-3p/A.$