Let x and y be real numbers such that x^2 + y^2 = 1. Find the max value of 2x - 5y.

A hint was given to use Cauchy-Schwarz but I'm not sure how to apply it to vectors?