1. The problem statement, all variables and given/known data Provide an example of a function such that f(x) has two and only two real roots and f'(x) has two and only two real roots, where f is defined for all real numbers and differentiable everywhere on its domain. 2. Relevant equations 3. The attempt at a solution I know that if a function has n roots, it's derivative has to have at least n-1 roots. But I can't for the life of me visualize a function that would have two zeroes and have it's derivative also have exactly two zeroes. If anyone could give me a hint I'd be super thankful. I don't know if this is enough of an attempt within the community guidelines but I'm really stuck.