Let the demand equation represent a line y = m*x + c where y is the demand, x is the price, m is the coefficient and c is the constant. Given 7000 = 12*m + c and 17000 = 9m + c, we can derive the value of m and c. Calculation of the two linear equations give m = -10000/3 and c = 13000. With these data, we can calculate the demand equation as qq + 10000*pp/3 = 13000 where qq represents quantity and pp represents price.