Write a function for the tranformations described below:
"The cubic function shifts 7 units right and 5 units up."