Model a table with a linear equation