Linear points

Drag the red points!

Find the functions!