Calculate: 2(x+5)-(x+1) * (x-4)

Expression: $2\left( x+5 \right)-\left( x+1 \right) \times \left( x-4 \right)$

Distribute $2$ through the parentheses

$2x+10-\left( x+1 \right) \times \left( x-4 \right)$

Simplify the expression

$2x+10-\left( {x}^{2}-4x+x-4 \right)$

Collect like terms

$2x+10-\left( {x}^{2}-3x-4 \right)$

When there is a $-$ in front of an expression in parentheses, change the sign of each term of the expression and remove the parentheses

$2x+10-{x}^{2}+3x+4$

Collect like terms

$5x+10-{x}^{2}+4$

Add the numbers

$5x+14-{x}^{2}$

Use the commutative property to reorder the terms

$-{x}^{2}+5x+14$