@rachvu
If the monitors both have VGA ports, then you you have to purchase USB-to-VGA adapters to connect the USB ports on the AIO to the VGA ports on the monitors. But be aware that these adapters often do not work. I had to go through three until I found one with its own drivers. The other two did not have drivers and simply did not work. It's a trial-and-error process.
I am a volunteer and I do not work for, nor represent, HP