Dear Allan, Penile cancer is a disease of older men, 60-80 yrs. It is rare among the Jewish population where neonatal circumcision is commonplace. Uncircumcised men have a chronic irritative product called smegma that is thought to contribute to penile cancer. Smegma is a by-product of bacteria acting on desquamated cells. Phimosis, scarring of the uncircumcised foreskin so that is cannot be reduced over the glands, contributes to smegma formation.
Penile cancer can occur anywhere on the penis but usually occur on the glands.
With respect to your situation, Allan, it is extremely unlikely that you have penile cancer. You lack the chronic exposure to the smegma needed to promote cancer. You are too young. The lesions you describe may be sebaceous cysts which may occur anywhere on the body. Veins in the penile skin can be very large.