Understanding Straight and Curved Lines in Mathematics