Which graph represents y as a function of x?

Answer:
the first one
Step-by-step explanation:
when x is a function of y it looks the same just the opposite way around and the second one is not a function because line is not strait.