If the player is right there in the game with you, click their character. A circle appears with their information, and the button at the top labelled Add Friend sends the request.
If they're offline, click the Friends button in the bottom-left corner to open your Friends List. Type their name into the box at the bottom, hit the button beside it, and the request goes out.