For the given mapping diagram, generate the table and the ordered pair for the particular function.
If A = {1, 5, 6}, B = {4, 8, 9} and f : A→B is a function defined by f(x) = x + 3, represent the function as a set of ordered pairs, table form and arrow diagram.