Pourriez-vous m’expliquer la question 2 et 3 car je ne trouve pas la réponse et ne comprend pas

bonjour
2)
on entre un nombre : x
on ajoute 2 : x + 2
on élève au carré : (x + 2)²
on retranche 7 : (x + 2)² - 7
f(x) = (x + 2)² - 7
f(x) = x² + 4x + 4 - 7
f(x) = x² + 4x - 3
3)
f(-1/2) = (-1/2)² + 4(-1/2) - 3
= 1/4 - 2 - 3
= 1/4 - 5
= 1/4 - 20/4 = -19/4