ON GENERALIZATIONS OF CONICS AND ON A GENERALIZATION OF THE FERMAT-TORRICELLI PROBLEM