Exercise 6.1.G of Ravi Vakil's notes asks to prove that all affine schemes are quasi-separated, where quasi-separated schemes are defined as schemes where the intersection of any two quasi-compact open subsets is quasi-compact, or equivalently the "intersection of any two affine open subsets is a finite union of affine open subsets."
Can someone give a hint or solution?