All straight line graphs can be written in the form of y = mx + c. Remember the number in front of x represents the gradient and c represents where the line cuts through the y axis . Lines that are parallel have the same gradient. Lines that are perpendicular have gradients that multiply together to give -1.