sf::Vector2f has a constructor which asks for 2 floats in it's arguments.
The f in sf::Vector2f means float, so it will hold 2 floats.
Heres an example:
sf::Vector2f variable=sf::Vector2f(1,2); //The value of variable.x will be 1 and the value of variable.y will be 2
I hope I helped!