Rewrote equation as 1 equation instead of 2.