Relation 1 (City -> Team) is a function, each city has a unique team.
Relation 2 (Team -> City) is not a function, multiple teams can be from the same city.
Relation 1: City -> Team
Domain (Cities): {5, 8, 10, 12, 14}
Range (Teams): {Rockets, Birds, Pups, Cats, Hawks}
Function: Yes, this is a function because each city has one unique team associated with it. There are no repeated city values with different teams.
Relation 2: Team -> City (assuming this is the intended relation based on the arrow)
Domain (Teams): {Rockets, Birds, Pups, Cats, Hawks}
Range (Cities): {5, 8, 10, 11, 12, 14} (Note that city 11 is included here, although it's not explicitly listed in the table)
Function: No, this is not a function because multiple teams can be associated with the same city. For example, both Rockets and Birds are associated with city 5.