Everywhere a space appears, insert a $+ in your code.

echo -a %x %y will return 5 4
exho -a %x $+ %y will return 54