Solve -18 = -148*p + 151*p for p.
-6