Draw arc passing in three points

but the code of chatGPT works