To perform a horizontal stretch you have to multiply the x-term of the function by the factor.
Where b is the stretch factor and its value must be 0 ≤ b ≤ 1
So, to stretch the function f(x)=x² you have to divide the x-term of the function by 4 or multiply it by its inverse 1/4:
The correct option is B.