A triangle is bounded by the x-and y-axes and must pass through P(2,2)
a.) find the area of the triangle as a function of x (Hint: let C be the point (0,2) and D be the point (2,0). Use the fact that ACP and PDB are similar triangles.)
b.) What is the domain of the function you found in a.?