Answer:
14
Step-by-step explanation:
31-____-12=5
Reversing the moves we get
-______=5+12-31
=>-_____=-14
=>____=14
31-14 equals 17
17-12 equals 5