Uhm... Spoiler I didn't figure out the inted way, I think. But B can simply be pushed over the 'fence' straight to the win.
These are some hints if someone is stuck. @Khudrat asked me some hints. Spoiler: 1° Hint The "motor piece" seems useful,B should move it