sinα=5/13
cosα=12/13
cos(α+β)=3/5
sin(α+β)=4/5
cosβ=cos(α+β-α)=cos(α+β)cosα+sin(α+β)sinα
=3/5*12/13+5/13*4/5
=56/65