I am assuming this is an isosceles triangle you're referring to, and not a rectangle. The side of the isosceles triangle is the same as the side of the square that you found in part a).

The area function for the isosceles triangle, in terms of its side a, is given by

I hope this helps. Good luck!