What is the value of 2x^2-2(x+4) when x=5


A -32
B 24
C 32
D 40