A current of 2 Amperes is past for 30minutes. Calculate the mass of sodium and the mass of copper deposited.

I assume you meant "passed".

Assuming both Na and Cu will deposit, then
Q = 2 x 30 x 60
23 g Na will deposit for every 96,485 coulombs. Convert coulombs from above to grams Na.
Then 63.54/2 g Cu will deposit for every 96,485 coulombs. Convert above coulombs to grams Cu.