Two chat s leave a port at the same time.the first travel at 5km/hr on a bearing 135° while the second travel at 20km/jr on a bearing 063° if after 24hr the second port is directly north of first boat .calculate the their distance and apart

you travel on a heading, not a bearing.

and your post is full of typos.

where is the 2nd port? The 2nd boat will never be directly north of the first boat, since they started from the same port, and go at different speeds.