Now substitute in equation 2 to obtain