this is hard take it from a girl, girls wouldn't want to date their best freiends. just become friends and start flirting a little bit and when the moment is right ask her out.
Just tell the girl you like her. If you dont like the friend dont worry about it. Let her and the friend figure it out between themselves just dont get mad if she doesnt want to go out with you...