Why a cookie?
First one is K, thats all I got.
Think about it, that modulus formula, doesn't it remind you of the hypotenuse of a right angled triangle formula (puthagorean theorum) ?
What hypotenuse does it give?
If you can work out what I am talking about, it is a very easy question :))
I'll leave you to think about it for a bit :)