The legal age of consent in Texas is defined by the Texas Penal Code Section…