Write, solve and graph linear equations