A Lewis structure is just the valence-electron count turned into a picture: every atom gets its full outer shell, and nothing is invented beyond what the arithmetic gives you.The same four steps apply to every species below:
1. Add up the valence electrons contributed by each atom (group number: $\displaystyle 1$ for H, $\displaystyle 4$ for C, $\displaystyle 6$ for O and S, $\displaystyle 7$ for Cl and F, $\displaystyle 2$ for Be), and add one extra electron for every unit of negative charge on the species.
Forgetting the charge electrons is the single most common mistake on questions like this.
2. Put the atom that can form the most bonds in the centre — H can only ever form one bond, so it is never central.
3. Join the centre to the outer atoms with single bonds, then use the remaining electrons to give every outer atom a full octet (a duet, for H).
4. Whatever is left goes on the central atom as lone pairs. If the central atom still doesn't reach eight electrons after that, take a lone pair off a neighbouring atom and turn it into a second bond (a double bond) to the centre.
\(\displaystyle \text{H}_2\text{S}\)Valence electrons: \(\displaystyle 2(1) + 6 = 8\), i.e. $\displaystyle 4$ pairs.
S is central. Two S–H single bonds use $\displaystyle 2$ pairs ($\displaystyle 4$ electrons); the remaining $\displaystyle 2$ pairs both go on S.
Structure: \(\displaystyle \text{H}-\text{S}-\text{H}\), with
two lone pairs on sulfur (not on the hydrogens — a hydrogen atom's shell is full with just the $\displaystyle 2$ electrons of its one bond). That's $\displaystyle 2$ bond pairs + $\displaystyle 2$ lone pairs = $\displaystyle 4$ pairs on S, an octet.
\(\displaystyle \text{SiCl}_4\)Valence electrons: \(\displaystyle 4 + 4(7) = 32\), i.e. $\displaystyle 16$ pairs.
Si is central (it can form four bonds; each Cl can only form one). Four Si–Cl single bonds use $\displaystyle 4$ pairs, leaving $\displaystyle 12$ pairs.
Give each Cl $\displaystyle 3$ lone pairs to complete its octet ($\displaystyle 1$ bond pair + $\displaystyle 3$ lone pairs = $\displaystyle 4$ pairs = $\displaystyle 8$ electrons per Cl): \(\displaystyle 4 \times 3 = 12\) lone pairs, which exactly uses up what's left.
Structure: Si at the centre, singly bonded to four Cl atoms (tetrahedral), each Cl carrying $\displaystyle 3$ lone pairs, and none left over for Si — its $\displaystyle 4$ bond pairs already give it an octet.
\(\displaystyle \text{BeF}_2\)Valence electrons: \(\displaystyle 2 + 2(7) = 16\), i.e. $\displaystyle 8$ pairs.
Be is central. Two Be–F single bonds use $\displaystyle 2$ pairs, leaving $\displaystyle 6$ pairs — exactly $\displaystyle 3$ lone pairs on each F ($\displaystyle 1$ bond pair + $\displaystyle 3$ lone pairs = octet for each F).
Structure: \(\displaystyle \text{F}-\text{Be}-\text{F}\) (linear), each F with $\displaystyle 3$ lone pairs,
and none on Be.Do not try to force an octet onto Be here — Be contributes only $\displaystyle 2$ valence electrons in total, so after it forms its $\displaystyle 2$ bonds it has just $\displaystyle 4$ electrons around it, and there is no spare lone pair anywhere in the molecule that could be shared into a second bond to Be without stripping an F below its own octet. \(\displaystyle \text{BeF}_2\) (like \(\displaystyle \text{BeH}_2\), \(\displaystyle \text{BeCl}_2\) and \(\displaystyle \text{BF}_3\)) is one of the genuine, well-known exceptions to the octet rule: Be is simply electron-deficient.
\(\displaystyle \text{CO}_3^{2-}\)Valence electrons: \(\displaystyle 4 + 3(6) + 2 = 24\) (the
+$\displaystyle 2$ is for the ion's two negative charges — leaving it out is exactly the trap step $\displaystyle 1$ above warns about). That's $\displaystyle 12$ pairs.
C is central, bonded to three O atoms. If all three C–O bonds were single bonds, that uses only $\displaystyle 3$ pairs, leaving $\displaystyle 9$ pairs to spread over the three O's as $\displaystyle 3$ lone pairs each — but that leaves C with only $\displaystyle 3$ bond pairs ($\displaystyle 6$ electrons), short of an octet.
So one bond is upgraded: a lone pair on one oxygen is shared with C, turning that C–O single bond into a C=O double bond. Now:
C: $\displaystyle 2$ single bonds + $\displaystyle 1$ double bond = $\displaystyle 4$ bond pairs → octet.
The doubly-bonded O: $\displaystyle 2$ shared pairs + $\displaystyle 2$ lone pairs → octet.
Each of the other two O's: $\displaystyle 1$ bond pair + $\displaystyle 3$ lone pairs → octet, and each carries a formal negative charge.
To check this is consistent, use formal charge \(\displaystyle \text{FC} = V - L - \tfrac{1}{2}B\), where \(\displaystyle V\) is the atom's own valence electrons, \(\displaystyle L\) is the number of electrons sitting in its lone pairs, and \(\displaystyle B\) is the number of electrons it shares in bonds:
\[\text{C}:\ 4-0-\tfrac{1}{2}(8)=0,\qquad \text{O(double)}:\ 6-4-\tfrac{1}{2}(4)=0,\qquad \text{O(single)}:\ 6-6-\tfrac{1}{2}(2)=-1
\]
Summing over the ion: \(\displaystyle 0+0+(-1)+(-1) = -2\), matching the ion's actual charge, so the structure is self-consistent.
Structure: one C=O and two C–O⁻, with C at the centre.
But nothing singles out which of the three oxygens should carry the double bond — the three C–O bonds are chemically indistinguishable (confirmed experimentally: all three C–O bond lengths in \(\displaystyle \text{CO}_3^{2-}\) are equal, in between a normal single and double bond). So the drawing above is only one of three equivalent resonance structures (the double bond could equally be drawn to any one of the three oxygens); the real ion is the resonance hybrid of all three, with every C–O bond of order \(\displaystyle 4/3\).
\(\displaystyle \text{HCOOH}\) (formic acid)Valence electrons: \(\displaystyle 2(1) + 4 + 2(6) = 18\), i.e. $\displaystyle 9$ pairs.
Read the formula carefully — one H sits on C, and the other sits on an O, i.e. the molecule is \(\displaystyle \text{H–C(=O)–O–H}\), not two hydrogens both attached to carbon.
C is central, bonded to: one H, one O by a double bond, and a second O by a single bond, with that second O then singly bonded to the second H.
Electron count check: bonds used = C–H ($\displaystyle 1$ pair) + C=O ($\displaystyle 2$ pairs) + C–O ($\displaystyle 1$ pair) + O–H ($\displaystyle 1$ pair) = $\displaystyle 5$ pairs ($\displaystyle 10$ electrons). Remaining: \(\displaystyle 9-5=4\) pairs ($\displaystyle 8$ electrons), split as $\displaystyle 2$ lone pairs on the doubly-bonded O and $\displaystyle 2$ lone pairs on the –O–H oxygen.
Octet check: C has \(\displaystyle 1+2+1=4\) bond pairs → octet. The =O has $\displaystyle 2$ shared pairs + $\displaystyle 2$ lone pairs → octet. The –O– has $\displaystyle 2$ shared pairs (one to C, one to H) + $\displaystyle 2$ lone pairs → octet. Both hydrogens have $\displaystyle 1$ bond pair each, a full duet.
So the full structure is: H singly bonded to C; C doubly bonded to one O ($\displaystyle 2$ lone pairs on that O); C singly bonded to a second O ($\displaystyle 2$ lone pairs on that O), which is itself singly bonded to the remaining H.
Answer:
\(\displaystyle \text{H}_2\text{S}\): \(\displaystyle \text{H–S–H}\), with $\displaystyle 2$ lone pairs on S.
\(\displaystyle \text{SiCl}_4\): Si singly bonded to four Cl atoms (tetrahedral), $\displaystyle 3$ lone pairs on each Cl, none on Si.
\(\displaystyle \text{BeF}_2\): \(\displaystyle \text{F–Be–F}\) (linear), $\displaystyle 3$ lone pairs on each F, none on Be — an accepted exception to the octet rule.
\(\displaystyle \text{CO}_3^{2-}\): C bonded to three O atoms, one C=O ($\displaystyle 2$ lone pairs on that O) and two C–O⁻ ($\displaystyle 3$ lone pairs on each); the three C–O bonds are equivalent by resonance, bond order \(\displaystyle 4/3\) each.
\(\displaystyle \text{HCOOH}\): \(\displaystyle \text{H–C(=O)–O–H}\), $\displaystyle 2$ lone pairs on the doubly-bonded O and $\displaystyle 2$ lone pairs on the –O–H oxygen.