Solve the integral of sec(x) by using the integration technique known as substitution. The technique is derived from the chain rule used in differentiation. The problem requires a knowledge of calculus and the trigonometric identities for differentiation.