The FAM7821 is indeed metric threaded, so please take care as it is sometimes possible to mix them up with UNF threads, with a severe risk of failure. It is definitely a PRV.
Now I assume that your car is left hand drive, so the PRV is not located in the same place as I would expect. However although the pipes are different shapes, the ports get connected up the same way. First to define LEFT and RIGHT, they are in anything that I do used relative to the way the driver, in the seat, sees things when looking forwards. So you have radiator on the left, clutch on the right.
The PRV is bolted to the bulkhead with the pressed sheet metal end, a sort of dome that covers the spring, pointing to the right, towards the clutch end, the big hex nut on the other end pointing to the radiator. The ports pointing downwards are outlets to the brakes, those pointing upwards are inlets from the master cylinder.
The bottom port nearest to the radiator side goes to the rear brakes, which as you will have found, runs down between the bulkhead and subframe, along under the floor, to a T piece on the rear subframe. The port nearest the clutch side goes to the front brakes, but I am not sure how it is run in your case.
Now to the bit where it gets tricky. Your master cylinder should be GMC227 (I assume you do not have a servo). The larger, lower port is M12 and goes to the REAR brakes, via the PRV port directly above the rear outlet. The other M10 port goes to the front, via the remaining PRV port.
The following link will help, but please be aware that the picture is for right hand drive. That makes no difference to which port is connected where, but looks different.
http://www.minimania...linder___GMC227
I advise a careful road test to ensure that the rears are not locking, just in case something is crossed, which would be dangerous as your front brakes, which do almost all the work, would be seriously pressure limited.