The key to deriving the CMOS layout is to try and look at the logic function, and to implement it with the nMOS transistors. When you have derived the nMOS layout, derive the pMOS layout by inverting every transistor position, i.e. when two transistor are in parallel in the nMOS layout put them in series in the pMOS layout.

Try this technique with the other function and post your answers to let us check if you like.

If you see anything wrong with my answer for the first layout, let me know.