What’s under my Friend’s toenail?

Does anyone know what this might be? My friend has these two little brown spots under her toenail, she thought it was dirt and she can’t dig it out but she also wants to make sure that it’s not melanoma cause you can get melanoma under your toenails.

Should she keep an eye on it? Or is it something that she should check with her doctor.