Set up your sewing machine for satin stitching and test the stitching on similar scraps.
Starting on the short edge of the fabric, approximately an inch before the corner, satin stitch the edges that have the ribbon tacked to them, leaving the ribbon extended as shown in photo C and stopping on the opposite short edge.