Here my first programming question of, I´m afraid, a lot to come

I want to pass a "vector" to a subroutine and I do not know how to do it.
Here the options I tried.
Just works the Option 3, but is useless to use a vector if i need to pass each component of the vector one by one


Any hint?
Thanks!