Line equations and slopes