Which figure of speech is used in this text?
And if you can't be with the one you love, honey,
Love the one you're with
—Stephen Stills, "Love the One You're With"

 - chiasmus
 - anaphora
The text uses chiasmus, an expression in which the second half parallels the first but reverses the order of words.
The second half of the sentence reverses the order of the words with and love relative to the first half.