How to install civix and build an extension in drupal
Have a look at the Developer Guide here: https://docs.civicrm.org/dev/en/latest/ as a start. 

If at all possible I would recommend trying to find an expert near you who would be able to give you a developer training. You would have to pay for it but it will probably save you a lot of exploration time :-)