What are the units for each of those entities, and how do you want them combined to show a measurement (or multiple measurements, as this appears to relate to a surface in 3D space?) in degrees?
Looks to me like you have three rotational speed sensors (the gyros in °/s: so pitch, roll and yaw rates) and three linear accelerometers (the accels, in m/s²).
Those are all independent measurements: I don’t see how you can combine them from a mathematical point of view. It’s like asking for the average of the Niagara Falls flow rate and the exchange rate of the US dollar to the Euro.
From a HA point of view, you can combine them however you want regardless of whether the result is invalid nonsense. If you can explain in arithmetical terms how you want them combined into an output number, we can help with that.