If both ISPs give you a single cable then you need a basic dumb layer 2 switch for each (Dlink or similar) as each connection needs to be plugged into both MX firewalls.
Plug ISP1 to WAN1 on primary MX
Plug ISP2 to WAN2 on primary MX
Both ISPs need to give you four IP addresses in the same subnet, one for their device, one for each MX and one virtual IP to move between them, they will form an active/passive pair.
Configure the LAN IP for the MX (there is only one for both)
Configure WAN1 with an IP address from ISP1s subnet and set the gateway to the IP used on their device
Configure WAN2 with an IP address from ISP1s subnet and set the gateway to the IP used on their device
Both WAN ports should now show as up on the dashboard with public IPs as you have set
Click on Configure warm spare and select Use virtual uplink IPs
Enter the virtual IP for each ISP in the boxes called WAN X shared IP
Both WAN ports should now show as up on the dashboard with virtual public IPs as you have just set
You will now have Primary and Spare click on spare to access the warm spare MX and configure the two ISP public IP addresses and gateways using the remaining addresses from the ISP subnets.
Plug one of the LAN ports on the primary MX to one of your switches
Plug one of the LAN ports on the spare MX to the second switch with the switch port on the same VLAN and able to see the port on the first switch (trunk interconnect / stack etc.)
Plug in the ISP1 cable from the layer 2 switch to WAN1
Plug in the ISP2 cable from the layer 2 switch to WAN2
Make sure you have spanning tree configured on the switches, then connect a second LAN cable from each MX to the other switch (i.e. MX1 to switch2 and MX2 to switch1) where again both ports are in the same VLAN as the first two.
Config is now complete.
If my answer solves your problem please click Accept as Solution so others can benefit from it.