The box joints on the first and dovetails on the second were created the same way using Vector Push/Pull. See the video here.