We have $$\Pr(\text{bad})=0.05$$ $$\Pr(\text{mechanic says bad|good})=\Pr(\text{mechanic says good|bad})=0.05$$ So $$\Pr(\text{good})=0.95$$ and $$\Pr(\text{mech says bad|bad})=1-\Pr(\text{mech says good|bad})=0.95$$ Hence, $$\Pr(\text{mech says bad})=\Pr(\text{mech says bad|bad})\Pr(\text{bad})+\Pr(\text{mech says bad|good})\Pr(\text{good})=(0.95)(0.05)+(0.05)(0.95)$$ and $$\Pr(\text{bad|mech says bad})=\frac{\Pr(\text{brake is bad and mech says bad})}{\Pr(\text{mech says bad})}=\frac{(0.05)(0.95)}{(0.95)(0.05)+(0.05)(0.95)}=\frac{1}{2}$$