What do opportunity cost have to do with slope?

y=mx+b