It is SAS because 1) it is given that sides are equal (AB=CD) 2)it is also given that angles B and C are equal 3) BC is a common side so it is equal in both triangles.
Basically, it is not a function because 1 domain (in this case, 5) can not be connected to two different ranges(1 and -2). Each domain must only connect to one range.