algebra
posted by cassidy .
A photo studio offers portraits in 8x10 and walletsized formats. One customer bought two 8x10 portraits and four walletsized portraits and paid $52. Another customer bought three 8x10 portraits and two wallet sized portraits and paid $50. What is the cost of a walletsized portrait?
I have to write a system of equations for this.
I did: 52= 2x+4y
50= 3x+2y
I'm not sure if this system is correct so will somebody check please?

Looks correct.