I'm writing a letter to a Russian friend and want to say "How are you?"/"How's it going?" as well as "How was your stay in America?" in Russian. Are the following correct for that?

Как дела? Как был твое пребывание в Америке?

This is a very informal letter as we were good friends while she was in America.

Thank you!