Stop. That's what happens when you do three things at the same time. pH is given. Will take a look later.
Please don't post similar questions in separate threads - and please read
forum rules.
Edit: OK. Find A/HA ratio from dissociation constant definition, express ionization degree with A and HA, then you need some simple math to get rid of A and HA (only their ratio is present in the final expression).