Write the equation of one rational function f(x) = p(x)/q(x) having the indicated properties, in which the degrees of p and q are as small as possible.
a) f has a vertical asymptote given by x=1
b) f has a slant asymptote whose equation is y=x
c) f has a y-intercept at 2
d) f has x-intercepts at -1 and 2 :?:
a) f has a vertical asymptote given by x=1
b) f has a slant asymptote whose equation is y=x
c) f has a y-intercept at 2
d) f has x-intercepts at -1 and 2 :?: