The 38 pencils cost $2.5 x 38 = $<<2.5*38=95>>95.
The 56 pens cost $3.5 x 56 =$<<3.5*56=196>>196.
The total cost of 36 pencils and 56 pens is $95 + $196 = $291.
#### 291