A number of triangles are connected in a row to form a shape. The table shows the relationship between the number of triangles, x, an the perimeter, y, of the shapes they form. Select all the true statements about this relationship.
A. The relation is a function
B. The relation is not a function because 2 inputs have the same output
C. The relation is not a function because 2 outputs have the same input
D. There is not enough informational to determine whether this relation is a function