Autonomous Solutions Interview Question

Given multiple points on a graph, write an equation that fits the line.