Do the data in the table represent a direct variation or inverse variation? Write an equation to model the data in the table?

x 1 3 5 10
y 4 12 20 40