The first one is the 4th answer and the second question is the second answer
This is a simile.
Metaphor would have a hidden meaning, an alliteration is when consecutive words start with the same sound or letter, while consonance is using the same vowel inside of a word in numerous consecutive words. None of those fit this.
The boys of the Socs and Greasers are both around the same age, attend the same high school, believe they are non-conformists, enjoy drive-in movies, and even appreciate the beauty of the sunset. The novel shows how the boys in the groups are similar despite their feud and social differences.