I think these exercises were meant to test grasp, which if you have you can do them quite fast. And so to send you back to your book - or thinking

- if you find you can't do them fast.
The first answer is just the mean of the pK's which is somehow what you could expect - I mean why should it be more towards one than the other? - (very rough argument). More soundly for a dibasic acid you easily find that
K
1K
2 = [H
+]
2[A
2-]/[H
2A]
You should be able to work out easily mass and charge balances give you, at equivalence, the ratio [A
2-]/[H
2A] of 1. Which gives you the result Borek reminded you of.
The pKs are well separated so at the pH exactly between them both [A
2-] and [H
2A] are small. But even if pK's are close so they are no longer small, this mean is still where [AH
-] is maximal and the two other forms are equal to each other.
So I got pH 5.935 for the first question. This is the simple practical-purposes calculation you were being tested for. (Then Borek mentions that it is an approximation. I think his more exact calculation involves taking into account effects of the pesky [H
+] and [OH
-] in complete set of equilibria. You may be, I was, surprised that the difference between the calculations is even as much as Borek says, but the difference I think is only about 5X10
-8 M in [H
+]. I think it would be difficult to make up that solution to give you the pH to 0.02 units. )
The second problem I think you were also meant to do quite fast. I think you were expected to say "by the first 100 ml HCl I have essentially protonated the first group of the base, so now this is just like adding 45 ml of my HCl to 0.1 M base whose pK
a is 2.46." You can in fact use the Henderson-Hasselbalch equation. Simples.
Though it is excellent to work out your exact equations and show they will simplify using sensible approximations, to the simple practical ones.