to get the equation of any straight line we only need two points off of it, hmmm let's use P and Q here and then let's set the equation in standard form, that is
standard form for a linear equation means
• all coefficients must be integers, no fractions
• only the constant on the right-hand-side
• all variables on the left-hand-side, sorted
• "x" must not have a negative coefficient

