The altitude drawn to the base of an isosceles triangle is 101010, and the perimeter is 404040. Determine the area of the triangle.