Hi Hussain,
You can very well use the OOB Workflow manager to use the above functionality.
In the workflow manager you have an option to get the onwers manager.
To get the manager for the owner
Click on the To -> Form Assiatant -> Look for -> Owner -> Manager.
Hope this helps.
Thanks