Position of new words when adding to existing words
It can be somewhere in between. The rules are that the tiles placed must be in a straight line (horizontal or vertical) connected to the existing words, and there cannot be any empty spaces between tiles placed.

For more information it may help to know that this is called 'hooking': https://en.m.wikibooks.org/wiki/Scrabble/Rules#Gameplay