Use PVC male adapters and metal locknuts to connect the PVC conduit to metal boxes (Photo 2). You can heat and bend PVC pipe, ...
If the wires are all the same size, the NEC helpfully lists the maximum number of wires by wire type and conduit size. Secure the PVC and male adapters coming into boxes with a metal locknut ...