Try this if you're stuck:
(قول "مرحبا يا عالم!")
قول = say
مرحبا = hello/welcome
يا = oh
عالم = world(قول "مرحبا يا عالم!")
قول = say
مرحبا = hello/welcome
يا = oh
عالم = world(قول "مرحبا يا عالم!"))
You need to put a 0x200F (Unicode's right-to-left-mark) both before and after the text, so the neutrally-directed characters ( ) and " will inherit the directionality of the Arabic text, instead of the top-level left-to-right context.