Are these 2 different fish? If not, I vote male. The first pic shows a longer pointier dorsal fin, no dots inside the black splotch - they are on the outside- and no pink tummy. Hence a male...
When the lighting is just right, most of my males can show a pinkish purplish color on their tummies. Follow emg's great pics and then look at your friends ram to decide.
Cathy