I want to store one form data in two table?

How can it be achieved?

thanks in advance!!