With Xcas, the composition of functions is done with the infixed operator @. Input :
Output :
^
Input :