Make a Linear Function

Drag the numbers to the boxes. How many different ways can you make a linear function? Based upon this task from OpenMiddle.com.
GeoGebra Applet