So basically I'm not sure of the solution and just want someone to tell me if what I did is correct. It's important I have an upcoming exam. Thank you.
Your shortening of bar B-C looks ok.
Your shortening of bar A-B should contain two terms: one expression for the un-drilled portion and one expression for the drilled portion. The latter term will contain your unknown dimension.