Connecting Sketches to Equations