Prove the slope criteria for parallel and perpendicular lines and use them to solve geometric problems.