Apart from that, the other terms simplify as follows:
{[18-2*6]-[40/(17-9)]}+{48-13*3+[CORRECT THIS PART]}
using BODMAS, where you have no brackets to enforce any other order:
{[18-12]-[40/8]}+{48-39+[CORRECT THIS PART]}
{6-5}+{9+[CORRECT THIS PART]}
1+{9+[CORRECT THIS PART]}