Concept:
• For two complex numbers to be equal, real and imaginary parts must be equal separately
Step 1: Simplify LHS
\[
(3+i)x + y + (1-i)y + 3i - 4
\]
\[
= 3x + ix + y + y - iy + 3i - 4
\]
\[
= (3x + 2y - 4) + i(x - y + 3)
\]
Step 2: Simplify RHS
\[
(2x+1)i + (x-y+2)i = (3x - y + 3)i
\]
Step 3: Compare real parts
\[
3x + 2y - 4 = 0 \quad ...(1)
\]
Step 4: Compare imaginary parts
\[
x - y + 3 = 3x - y + 3
\]
\[
\Rightarrow x = 3x \Rightarrow 2x = 0 \Rightarrow x = 0
\]
Step 5: Substitute in (1)
\[
3(0) + 2y - 4 = 0 \Rightarrow 2y = 4 \Rightarrow y = 2
\]
Final Conclusion:
\[
(x,y) = (0,2)
\]