what does 40-9 divided by 3x7+5=?

Do you mean
(40 - 9)/(3*7 + 5) ?
If so then evaluate the numerator to get 40-9=31. Then evaluate the denominator to get 3*7+5=26. Then form the fraction using the two results.
Was that the question?

Yes, you understood the question correctly.

To solve the expression (40 - 9)/(3 * 7 + 5), you need to follow the order of operations (also known as PEMDAS or BODMAS).

1. Start by performing the multiplication inside the parentheses: 3 * 7 = 21.
2. Add 5 to the result: 21 + 5 = 26.
3. Calculate the numerator: 40 - 9 = 31.
4. Divide the numerator by the denominator: 31 / 26.

So, the answer to (40 - 9)/(3 * 7 + 5) is 31/26.