The resources can be cleaned up using following steps:
Follow this link to the CloudFormation dashboard and delete both
After the CloudFormation stacks are successfully deleted, follow this link to the DynamoDB dashboard and check whether the table has been deleted. If not, delete it manually.
Follow this link to the Cloud9 dashboard and delete the environment.