The number of roses in the bunch is 2/5 * 40 flowers = <<2/5*40=16>>16 flowers
The total number of roses and tulips is 16 flowers + 10 flowers = <<16+10=26>>26 flowers
There were 40 flowers - 26 flowers = <<40-26=14>>14 carnations
#### 14