d - 8 = 12

_____
- 2

I'm not sure how to begin.

If this is your problem --

(d-8) / 2 = 12

d - 8 = 24

d = 32