In this problem we need to match the following items:
1. ¡Váyanse!
2. Que tengan un buen viaje.
3. Quiero que me visiten
With:
A) Command
B) Phrase of influence
C) Prepositional command
So the answers are as follows:
1) Matches to A)
The sentence ¡Váyanse! is a command. So, this sentence is given in the imperative mood. We use the imperative to give orders or commands. This way to give commands is direct. So, ¡váyanse! means Go away! and it is addressed to more than one people.
2) Matches to B)
The sentence Que tengan un buen viaje whose meaning is Have a good travel, is a Phrase of influence and expresses a desire, that is, the desire that someone have for another person. So, this person desire that someone have a good travel.
3) Matches to C)
The sentence Quiero que me visiten whose meaning is I want you to visit me is a Prepositional command because it is a type of command that expresses a desire. So, someone want to be visited for another person.