Vector space/I to K/Contravariance in index set/Exercise

Let be a field, and let and be sets. Show that a mapping

defines a linear mapping