DSolve[Cos[x]*(Cos[x] - Sin[alpha]*Sin[y[x]]) + Cos[y[x]]*(Cos[y[x]] - Sin[alpha]*Sin[x])*Derivative[1][y][x] == 0,y[x],x]