$${|BC| = a - |OC| = 5\,\mathrm{km}}$$