The perimeter of a quadrilateral is ^@40 \space cm^@. If the first three sides of a quadrilateral, taken in order are ^@13 \space cm, 10 \space cm^@, and ^@12 \space cm^@ respectively, and the angle between fourth side and the third side is a right angle, find the area of the quadrilateral.