Answer:
The word "straight" functions as:
A. sentence 1: adverb
sentence 2: adjective
Step-by-step explanation:
An adverb is a word that modifies a verb, an adjective, or another adverb. It can indicate how, when, where and other circumstances about the action performed, or the intensity of a quality, for instance. In the sentence 'Aline exclaimed, “Wow! That guy went straight through the goal!”' we have "straight" functioning as an adverb. Notice that it is modifying the verb "went", indicating manner, that is, how the guy went.
An adjective is a word that modifies a noun, attributing a quality to it. In the sentence "In the unicycle hockey game, the players had to sprint in straight lines and whirl in circles at other times in order to make goals," "straight" is functioning as an adjective, modifying the noun "lines". Now we know that the lines did not make any curves.