It's (10-4)/2=3. This is actually covered in the first couple pages of the PHB.
Good question here, what is the order of operations for damage taking?
Is it:
10 / 2, then -4 = 1?
Or 10 - 4 = 6 / 2 = 3?