All you'll need is some basic algebra, so it's not that difficult.
Having the formulas correct is the most important part, and I see that you've gotten that correct already. If you've got the Ka value and the concentration of the solution, then you've got everything you need. The Ka value is pretty much the equillibrium constant of the equation: HA -> H
+ + A
-. The next thing we need to know is whether or not this is a monoprotic acid or not. If the acid only has one proton it can donate, then it's VERY easy to figure out the pH. If it's got more than one it becomes a bit more complicated.
So for now we'll just assume it's a monoprotic acid. For every H
+ ion you have, you'll have the exact same number of A
- ions. Since we don't know the concentration of the ions at eq, we'll substitute an x for them in the equation you listed above. This will make the equation become Ka=(x
2)/[HA]. We also know that at equillibrium, the concentration of the undissociated acid will be the initial concentration minus the concentration of the ions formed. This turns the equation into Ka=(x
2)/([HA]
init-x). Now you just need to solve for x which will be the H
+ concentration for that acid at equillibrium.
Ka = (x
2)/([HA]
init-x)
([HA]
init-x)(Ka) = x
2([HA]
initKa)-(Ka)x = x
2([HA]
initKa) = x
2 + (Ka)x
All you need to do is solve for x and take the -log of it to find the pH.