What is the correct user expectation on text alignment, when English is used together with Arabic language?

enter image description here

I was wondering, what is the correct user expectation, when English is being used together with Arabic, within a sentence.

For instance, in the 1st line, the text is aligned toward right. How I type are

  1. I type انا احبك
  2. I type [space]
  3. I type "hello"

In the 2nd line, the text is aligned toward left. How I type are

  1. I type "hello"
  2. I type [space]
  3. I type انا احبك

I was wondering, which text alignment is the correct user expectation?

p/s I have 0 background in Arabic language. The only thing I know, is Arabic writing system is from right to left.