5 is not a function because if you draw a vertical line then it touches twice which is not a function
6 is a function
7 is not a function because there are 2 of the same inputs
8 is a function because it passes the vertical line test
9 is not a function
10 is a function
Hopefully that helped!