A wire 28 cm long is bent to form an isosceles triangle with equal sides each measuring x cm and base (28−2x) cm, where x is a whole number. For all values of x that form a valid triangle, determine the value of x for which the area is greatest. Also find this maximum area.