My problem is the following: I am looking for all possible functions $f(\theta_\text{i}, \theta_\text{o})$ with $f(\theta_\text{i}, \theta_\text{o}) \in \mathbb{R} \ \forall \ (\theta_\text{i}, \theta_\text{o}) \in [0, \pi/2]^2$ that verify the following equation and conditions:
$$\int_0^{\pi/2} f(\theta_\text{i}, \theta_\text{o}) \sin 2\theta_\text{o} \, \text{d}\theta_\text{o} = \sin^2 \theta_\text{i}$$
$$f(\theta_\text{i}, \theta_\text{o}) = f(\theta_\text{o}, \theta_\text{i}) \quad \text{and} \quad f(\theta_\text{i},\theta_\text{o}) \geq 0 \ \forall \ (\theta_\text{i}, \theta_\text{o})$$
Even if the question is simple, I am struggling to start... I have tried integration by part, I also tried to derivate by $\theta_\text{i}$ in both sides, or the King's property... But I am going nowhere.
I will take any advice.