Simon, Terry did provide the answers, but so did K (and fractionally earlier, I imagine) - though I think that K was trying to show how the answer (to the first one, at least) was derived.
It seemed churlish not to mention K's efforts in your thanks... (and, despite my own pseudonym, I am not K and don't know who K is!)