On the Hilbert scheme of curves of degree \(d\) and genus \(\frac{(d-3)(d-4)}{2}\) Moduli space of hyperelliptic curves of genus two with level (2,4) structure and the special orthogonal group of degree three 