Offset curve from surface edge

How do I make something like this?
https://help.solidworks.com/2017/english/SolidWorks/sldworks/t_creating_sketch_offsets_on_3d_geometry_surfaces.htm?format=P&value=
Screenshot_090722_114100_AM

image