the second one seems to be `-(x-1)**2`, without the free term --- am I missing something?