Sam purchased two bottles of water and three hot dogs a the ball park for $8.50. Mary purchased one bottle of water and two hot dogs for $5.25. What system of equations could be solved to determine the prices in dollars of a hot dog (h) and a bottle of water (w)?
A. 2w+3h=8.50; w +2h=5.25

B. 3w+2h=5.25; w+2h=5.25

C. w+h=8.25; w+h= 5.25

D. 3w+2h=8.50; 2w+h=5.25