Welcome to just answers my name is Kevin.
The esp and bas are for when your wheels are slipping and the bas is a steering wheel correction system. They are safety things that help with the car not getting out of control on wet or snow roads. The cost will depend on what the prob is aka sensor,module wire issue. A dealer will charge a one hour check out and go from there.