How can I teleport a player to a location relative to another player?

The /tp command accepts relative arguments (~), but you won't be able to do it in a single command. You may wish to use a pair of command blocks to execute them quickly and more or less seamlessly.

The following will teleport Steve to Joe, then zero blocks forward (in the x direction), fifty blocks up (in the y direction), and zero blocks to the side (in the z direction).

/tp Steve Joe
/tp Steve ~ ~50 ~

The format is as follows:

 /tp [player] <x> <y> <z> [<y-rot> <x-rot>]

More information can be found on the Official Minecraft wiki: http://minecraft.gamepedia.com/Commands#teleport


execute Joe ~ ~ ~ teleport Steve ~ ~50 ~

for teleport command, the relative coordinate is of the executor, but not the teleported entity.