Round peach tablet imprinted P 75 is 75 mg
ranitidine (generic
Zantac 75), a drug that treats ulcers and heartburn. The P loop on this pill should look a little squared.
The beige one is probably the same but made by a different manufacturer. Most of the OTC ranitidines are pink or beige and are marked with a 75.
I'm not a pharmacist or a medical doctor. This message is not medical advice nor is it an offer to provide medical advice. All drug identifications should be validated by a licensed MD or pharmacist.