Knowing what is right action + action = right result.
Prayer in religious sense is just wishful thinking, satisfying personal egos but not resulting in anything positive. That is why every religion prescribes 'prayer' to keep the masses occupied, exploited by the religious priests.
Prayer is a powerful weapon, a weapon of mass humanity destruction.
Salat is your every act in accordance with Divine Will, just like the birds in the sky cannot fly without wings outstretched.
Dua is seeking the right way of doing things and this is fulfilled by then doing it.