Braulio explains in more detail how to counter the triangle attempt from closed guard when your posture is controlled by your opponent. He also shows how to use a frame to counter and escape when your opponent still manages to pull you into the triangle position.
Links to other Parts:
Part 1,
Part 2