Modern explorations of the Brachistochrone-related problem: using the Udwadia–Kalaba approach