This context comes from a Wikipedia page "FBI files on Elvis Presley"
"The letter says that Elvis's "actions and motions were such as to arouse the sexual passions of teenaged youth."
I found a definition from the Longman Dictionary posted by someone on a different forum but it's no longer available on that website. This is the definition:
(such as to)
formal or literary used to give a reason or explanation for something:
His manner was such as to offend everyone who he met
It's difficult for me to transform this sample sentence and apply it to the one about Elvis.
Also, I thought it might be the phrase "such as" as in "In cases such as this (one), it's best to be cautious." with the preposition "to" but this phrase is always followed by the noun or pronoun which states what the subject of the sentence is similar to. Does the sentence in question have anything to do with this phrase?