You created your VPC as 10.0.0.0/24, which means all IP addresses must be 10.0.0.x (first 3 parts are 10.0.0, with only the last part changing).
Your first subnet is also 10.0.0.0/24, which means your single subnet has now occupied your entire VPC. So you have 2 problems:
- There's no room for another subnet, and
- The subnet mask you are using for your second subnet is not in your VPC (10.0.20.x is not inside 10.0.0.x). This is actually what the error message is telling you.
Change your VPC to be 10.0.0.0/16 instead. This means only the first 2 parts are constant (10.0.x.x). Then you can start making your multiple /24 subnets (10.0.0.0/24, 10.0.20.0/24, etc.)