Full details are here:
http://www.bmw-warranty.co.uk/Pages/Home.aspx
Basically you can add warranty to any car with mileage <100K if the manufacturer's service requirements have been complied with. You can ring them to get a quote for any car you're considering buying. It's a lot more expensive after 60K miles.