Text this: Lectures on the Calculus of Variations and Optimal Control Theory