inside formulas foldable

formulas foldable with midpoint and distance formula filled in