You may have thought this relation was not a function because the input values are all negative and the output values are all positive. However, each input has only one output, so this relation is a function.