This is exactly what I needed to replicate my office setup. Out of the box and ready to use. No issues with setting or screen resolution. I used VGA for one connection and DVI-HDMI for the other. You can also use the mini display port. I only tried this to test. Good value for money.
Cable Baseus Cafule USB - Lightning, 1 m, black/red
26 Review
Cable Matters USB C to HDMI Adapter - 4K 60Hz, 60W Charging, Thunderbolt 4 Compatible for MacBook Pro, iPad Pro
12 Review
Portable battery with wireless charging support COMMO Magnetic Power Bank, 4 600 mAh, graphite
23 Review
USB to USB Type-C adapter
18 Review