Propositional & Predicate Logic

Answer & solution
Official answer: D
Our answer: D with false-valuation interpretation
1. Under the intended interpretation, an implication A→r is false exactly when A is true and r is false. Therefore p→q is true and r=false.
2. With r=false, r→p is true regardless of p. Hence (r→p)→q reduces to true→q, namely q. It is true whenever q is true, D.
3. The allowed valuation p=false,q=false,r=false makes the target false, ruling out both tautology and C. Taking q=true makes it true, ruling out contradiction. Literally, the first expression is not a contradiction over independent atoms: setting r=true satisfies it.