Use the definition of the big-oh first to d (n) and then to f (n) (but be sure to use the right n0).