Answer:
see below picture
Explanation:
You can work your way through the formula from the inside out, mapping every operation to a gate.