Step-by-step explanation:
3(-8m-1) + 5(m+8) (remove the parentheses)
-24m - 3 + 5m + 40 (collect like terms and calculate)
-19m + 37