Text this: Variational Methods in Shape Optimization Problems