equation in the form ax + by + cy = d