A rectangle has perimeter 40 cm. If one side has length x x\,x cm, find the value of x x\,x that maximises its area and state the maximum area.