Write a two-variable equation from a table