Answer
(a) $(P\wedge Q\wedge R)\vee (P\wedge \sim Q\wedge R)\vee (\sim P\wedge \sim Q\wedge \sim R)$
(b) See figure
Work Step by Step
(a)
Step 1. The first row gives $P\wedge Q\wedge R$,
Step 2. The third row gives $P\wedge \sim Q\wedge R$,
Step 3. The last row gives $\sim P\wedge \sim Q\wedge \sim R$,
Step 4. Combine the above to get:
$(P\wedge Q\wedge R)\vee (P\wedge \sim Q\wedge R)\vee (\sim P\wedge \sim Q\wedge \sim R)$
(b) See figure, where same colored lines are connected but not lines of different colors.