For the function to be continuous at x=0, the left-hand limit, right-hand limit, and the value at x=0 must all be equal.
Since x=0 satisfies x≤0, the first piece of the function applies:
f(0)=α(02−2(0)+1)
f(0)=α(1)
f(0)=α
For x>0, the function is f(x)=2x+1.
The right-hand limit as x approaches 0:
x→0+limf(x)=2(0)+1
x→0+limf(x)=1
For x<0, the function is f(x)=α(x2−2x+1).
The left-hand limit as x approaches 0:
x→0−limf(x)=α(02−2(0)+1)
x→0−limf(x)=α
For continuity at x=0:
f(0)=x→0+limf(x)=x→0−limf(x)
α=1=α
Therefore, α=1