YOU SAID:
hi i am a friend of your friend
INTO JAPANESE
こんにちは私はあなたの友人の友人です
BACK INTO ENGLISH
Hello, I am a friend of your friend
INTO JAPANESE
こんにちは、私はあなたの友達の友達です
BACK INTO ENGLISH
Hello, I am a friend of your friend
That didn't even make that much sense in English.