Not enough info, and honestly, if your examples are too loosely based on reality, it scares us off. Nothing worse than spending time providing a solution only to find that the data types/structure/relationships are not even close to the example, which usually means we wouldn't have made the suggestion(s). Why posters assume we can't understand the real thing is puzzling.
How do I make row 2 and row 3 invisible first and make it visible after clicking the add button?
If it's a continuous form, you cannot, but you don't say. Maybe that helps illustrate the problem with lack of information.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.