Carbon forms bonds by sharing an electron in one of its orbitals with an orbital of another atom that also contains one electron. Given this constraint, how many bonds can carbon form according to its electron configuration?