Create tables as shown in the images below

Create tables as shown in the images below