Hi Linda
My name is Andre Da Costa; an Independent Consultant, Windows Insider MVP and Windows & Devices for IT MVP. I'm here to help you with your problem.
Windows 10 which includes DirectX 12 includes the necessary run times for older versions of DirectX. So, you should be able to install older games using compatibility mode.
Run Old Software on Windows 10 with Compatibility Mode - groovyPost
https://www.groovypost.com/howto/run-old-softwa...
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
If the above does not work, open Start, type: regedit
Right click regedit
Click Run as administrator
Navigate to the following keys:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\DirectX
Then change the key 4.09.00.0904 to 4.08.00.0904
Try launching your game