Parker went to the grocery store and bought bottles of soda and bottles of juice. Each bottle of soda has 50 grams of sugar and each bottle of juice has 10 grams of sugar. Parker purchased a total of 14 bottles of juice and soda which collectively contain 300 grams of sugar. Graphically solve a system of equations in order to determine the number of bottles of soda purchased,x, and the number of bottles of juice purchased, y.