There's a party and there are people clinking glasses. We hear 28 clinks (one person clinks with exactly one person). I have to find out how many people there are at the party.
So I put in this equation:
$\binom{x}{2} = 28$, but I don't know how to find $x$.
You are correct that the equation to look at is $\binom{x}{2}=28$ by the handshaking lemma.
Next, remember that $\binom{x}{2}=\frac{x(x-1)}{2}$ so the above equation can be rewritten as
$$x^2-x=56$$
From here you may rearrange a bit and use the quadratic formula to solve for $x$ or use other introductory methods to find $x$: