Linear mapping/Mulled wine/Price and calories/Exercise

On the real vector space of mulled wines, we consider the two linear maps

and

We comsider as the price function, and as the caloric function. Determine a basis for , one for and one for .