HEllo @Amy112
Those HP monitors use HDMI cables.
But your HP computer only has 1 HDMI out and 3 Displayport out.
You can use an HDMI cable for one of the monitors.
You will need an HDMI to Displayport adapter for the other monitor using an HDMI cable.
The back of the computer will connect to the cables like this...

An HDMI to Displayport adapter will look something like this example from Best Buy...
https://www.bestbuy.com/site/dynex-displayport-to-hdmi-adapter

Let me know if you have other questions.