The formula for aggregate demand is AD=[...]AD = \text{[...]}AD=[...].
The formula for aggregate demand is AD=C+I+G+(X−M)AD = \boxed{C + I + G + (X - M)}AD=C+I+G+(X−M).