The bearing of a house from point A is 319° . From a point B , 317m due east of A , the bearing of the house is 288° , How far is the house from A ?.

Please show workings and a diagram.​