A stepladder is diagrammed on a coordinate plane. The base of one leg of the stepladder is at the point (0,0), the base of the other leg is 12 ft to the right, and the top of the stepladder is 19.5 ft high.
a. Write a rule for function f to represent the stepladder, and state the domain.
b. Another stepladder has legs 14 ft apart and is 22.75 ft high. The base of its left leg is at the point (0,0). Write a rule for function g to represent this ladder and describe it as a transformation of f.