Answer:
I will use "complete-the-square" approach if thats ok
first 0.5(x - 2)² - 2
second -2(x - 4)² + 8