I was invited by my friend to hang out together, so I will spend time with him/her from two o'clock tomorrow afternoon.
ご質問ありがとうございます。
"I was invited by my friend to hang out together, "=「友達に遊びに誘われた」
☆"hang out"は(誰かと)時間を過ごす、という意味のカジュアルなフレーズです。
"so I will spend time with him/her from two o'clock tomorrow afternoon."=「だから、明日の午後2時から彼・彼女と時間を過ごすね。」
ご参考に。