If you make a graph of the system (as it is said on the question) you should get somethig like this. The solution of a system of equations is the point (x,y) where the graph of each of the equations meet.
For this problem, the solution is: (2,3)
It means that the dressmaker bought 2 yards of silk and 3 yards of cotton.