@scottj678500 A good way to start and learn designer script is by using 'action builder' Right-click on any object, then select action, and a dialog with action+event combination.
In this case, put a script on dropdown or radio change and hide the subform which is in 5 or 6 based on the value