Propositional & Predicate Logic

Answer & solution
Official answer: 11.0 : 11.0
Our answer: 11
De Morgan gives ¬(p→q)∨(r∧s)=(p∧¬q)∨(r∧s). No integer≥2 is both a perfect square and prime, so the second term is false. Among 8, 9, 10, 11, 12 only 11 is not composite. Therefore x=11.
First replace the implication p⇒q by ¬p∨q. Negating the outside conjunction produces (p∧¬q)∨(r∧s), so only two kinds of integer could qualify. A square x=k2 with x≥2 has k≥2 and a proper divisor k; it cannot also be prime. Consequently x must lie in the listed set while failing compositeness. Checking that set leaves exactly 11, and substituting 11 makes the original inner conjunction false as required.