When a single act constitutes two or more grave or less grave felonies, or when an offense is a necessary means to committing the other, this is a complex crime. – Article 48, RPC
What is the penalty?
The penalty for the most crime at its maximum period.