Problem: Prove that (up to isomorphisms) exists a unique Lie algebra $\mathfrak{g}$ with $\dim(\mathfrak{g}) = 3$ such that $\dim([\mathfrak{g},\mathfrak{g }]) = 1$ and $[\mathfrak{g},\mathfrak{g}]\subseteq Z(\mathfrak{g})$.
I don't even know how to start, I guess that is not too difficult but I need an initial guide.