Simultaneous Equations With x having Same Gradient