Box and lid. Closed rectangles form the main box and its slightly wider lid. Each side is a parametric line segment, so it stops at the corner rather than continuing across the graph.
Ribbon. Pairs of vertical and horizontal lines make the ribbon edges. The bands cross on the front face. This is a flat drawing, so there is no hidden-face or perspective calculation.
Bow. Matching ellipses on either side meet near a small circular knot. The bottoms of the loops touch the lid, making the bow sit on the present rather than float above it.
Press Copy all equations, open the Desmos graphing calculator, click into the first empty expression line and paste: each line becomes its own curve. Every curve uses t from 0 to 1, which is Desmos's default, so there is nothing to set up. Give both loops and the ribbon edges the same colour in Desmos. Resize the lid along with the box if you change the width; leave the bow centred over the ribbon.