Question: Find formulas for the functions described.
1. A rational function of the form y = ax/(x + b) with a vertical asymptote at x = 2 and a horizontal asymptote of y = -5.
2. A cosine curve with a maximum at (0, 5), a minimum at (π,-5), and no maxima or minima in between.