A rectangular flag is 36cm long and 18cm wide. If a triangle is cut out of the center of the flag that has a base of 5cm and a height of 2cm, what is the remaining area of the flag?