Prove that $f \cup g $ is a function if and only if $f(x)=g(x)$, for all $x \in dom(f) \cap dom(g)$
I am trying to prove this problem. I have already proved it from right to left but from left to right is giving me problems. I have tried to let $(x,y) \in f \cup g $ and I think i need to prove $y \in f,g$ which i don't know I i can achieve that.