ofcourse the formula is correct, nd it will be gr8 if u rember the formula, but even if u dnt(like i cant
), here's the full solution, and also the proof of the formula KCN <====> K + + CN -
in an aqueous solution of KCN, the following equlibrium will exist
KCN + H2O <=====> HCN + KOH .............(1)
or it can be written as
CN- + H2O <====> HCN + OH-
t=0 c 0 0
t=
c(1-h) ch ch
thus the hydrolysis constant Kh = [OH-] [HCN ]
[CN- ]
frm here we'll get h =
(Kh/ C) for h<<<<1
also HCN <====> H+ + CN- Ka(dissociation constant)
thus we have Kh X Ka = Kw
=> Kh = Kw / Ka
thrfore h =
(Kh/ C) =
{ Kw / ( Ka C) } thus [OH-] = ch =
{ (CKw ) / Ka } takingnegative log of noth sides we have
- log [OH] = - log [
{ (CKw ) / Ka } ] => pOH = 1/2 [pKw - pKa - log C ]
=> pH = 1/2 [pKw + pKa + log C ]
u have the values, u'll get the answer 
and even if u have any problem do knock back :)