cosx=2根号5/5
cosy=3根号10/10
cos(x+y)=cosxcosy-sinxsiny
=2根号5/5 *3根号10/10 - 根号5/5 *根号10/10
=根号2/2
所以x+y=45°