Find the first four nonzero terms of the Maclaurin series for the function by using an appropriate trigonometric identity or property of logarithms and then substituting in a known Maclaurin series.
$$\text { (a) } \cos ^{2} x \quad \text { (b) } \ln \left(\frac{1-x}{1+x}\right)$$