What are the equations of lines m and q