Fusion 360: Sketch Equations and Parameters

How to make one sketch’s length a function of another, and how to make a user-defined parameter.