Automatically link last records from 2 different tables

Yesterday I made a form in Jotform that fill 3 tables in my Airtable database.
It creates 3 new rows (one row for each table). That works fine, but there are no links to the different tables.
How can I link automatically link the last record from table A (table 1) to the last record from table B (table 2)?