We have to simplify the statement (p∧q)⇒((r∧q)∧p).
First recall the basic implication law:
A⇒B≡¬A∨B.
Before using the law, it is convenient to tidy up the right-hand conjunction.
Because conjunction is both commutative and associative, we may rearrange the factors freely:
(r∧q)∧p=p∧q∧r.
So the whole expression becomes
(p∧q)⇒(p∧q∧r).
Now set
A=(p∧q),B=(p∧q∧r).
Applying the implication law we obtain
¬(p∧q)∨(p∧q∧r).
Next, use De Morgan’s rule for the negation of a conjunction:
¬(p∧q)=¬p∨¬q.
Substituting this result we have
(¬p∨¬q)∨(p∧q∧r).
The disjunction symbol “∨” is associative, so we can write the whole thing as
¬p∨¬q∨(p∧q∧r).
To see the final simplification clearly, break the analysis into the two possible truth-values of q.
Case 1: q is false.
If q is false, then ¬q is true, and the entire disjunction is automatically true.
Therefore the expression is true irrespective of p and r.
Case 2: q is true.
If q is true, the term ¬q becomes false, and the disjunction reduces to
¬p∨(p∧r).
Factor p out of the second term:
¬p∨(p∧r)=(¬p∨p)∧(¬p∨r)=T∧(¬p∨r)=¬p∨r.
Hence, when q is true, the original statement is equivalent to ¬p∨r.
Remembering that q itself is true in this case,
¬p∨r≡¬p∨(r∧q).
(The factor q can be inserted because q is already true and r∧q therefore has the same truth value as r.)
Combining both cases, we can write the simplified form valid for all truth-values of p,q,r as
¬p∨¬q∨(r∧q).
Finally recognise this again as an implication, with antecedent (p∧q) and consequent (r∧q):
¬(p∧q)∨(r∧q)≡(p∧q)⇒(r∧q).
Thus the original Boolean expression is logically equivalent to
(p∧q)⇒(r∧q).
Comparing with the given options, this matches Option C.
Hence, the correct answer is Option C.