You have assumed that B, C, K are all collinear (second step) it is not mentioned in the question and is in fact proven in the last part.
To prove it is a cyclic quadrilateral, first we notice that angle ABD is equal to ACD (angle same segment)
Moreover, angle ACD is equivalent to angle XCD...