Let f and g be two real functions given by
f = {(0, 1), (2, 0), (3, -4), (4, 2), (5, 1)} and g = {(1, 0), (2, 2), (3, -1), (4, 4), (5, 3)}.
Find the domain of fg.
D(f) = {0, 2, 3, 4, 5}
D(g) = {1, 2, 3, 4, 5}
So, D(fg) = {2, 3, 4, 5}