Define the event $D$ as "Declared faulty" and the event $F$ as that a computer is faulty. By law of total probability
$$ P(D) = P(D\mid F)P(F) + P(D \mid F^c)P(F^c) $$ We know that they give the correct answer with probability $y$ so $P(D \mid F)=y$ and $P(D\mid F^c)=1-y$. Also we know $P(F)=x$ and $P(F^c)=1-x$ so it remains to put everything together.