Question: what is the equation of a line used for?
Answer: The equation of a line is used in two main ways. As a compact way of defining a particular line. If I wanted to tell you how to draw a particular line by email, I could write "draw the line defined by y=2x+12". You could then plot this line exactly.