how can you use the vertical line test and the horizontal line test to determine whether a graph represents a function and whether the graph is invertible?