This is one that you could have done with multiple instances of the Infosemantics Interactive Drag and Drop widget acting as slaves for an Infosemantics Interactive Master widget.
Basically you set the Master widget to report success if any combination of 5 slave widgets report success. It wouldn't matter which of the 8 slave widgets reported success, as long as only 5 of them were on their correct targets.