If sin[90 - (A+B)] = cosx = cosy
find the value of x and y; if y is the angle C of triangle ABC. (In triangle ABC, A+B=90∘)