To access the contents of an array you should provide a single index, not a comma seperated list of indexes (i.e. Array[0], not Array[0,1]
You’re trying to convert a float to an FVector (i.e. you’re trying to do Fvector myVec = 2.0f). This isn’t valid, it needs to be assigned as a vector value so use a constructor as shown above).
Also note that FVector expects 3 values, not 2 as in your code (FVector2D will expect 2 values)