A dress pattern calls for 118 yards of fabric for the top and 258 yards for the skirt. Mia has 312 yards of fabric. Does she have enough fabric to make the dress? Explain.