Given the graph of a function is y = Asin(Bx + C). Based on the given graph, find A, B and C. Write the function of the given graph.