write a linear equation for this information