How do you resolve a single vector into x and y coordinates?

How do you resolve a single vector into x and y coordinates?