The stripes I just made long lines and alternated colors and widths. For the star I did it the way you draw where you go from point to point, but I folded the ric rac at the points to change the direction.
Sew the ric rac on with straight lines using matching thread. Backstitch when you start and stop. Make sure any raw edges are tucked under to keep it from unraveling.