Make a copy of A and A1. Call them D and D1. (If you're using ReFS, this copy won't actually need to replicate the data.) Then use the Merge-VHD PowerShell cmdlet (or any other method) to merge D1 into D. (Again, if you're using ReFS, this won't actually move any data.) D is now the VHD that you want from A1. Replicate the process for A2.
Make a copy of A and A1. Call them D and D1. (If you're using ReFS, this copy won't actually need to replicate the data.) Then use the Merge-VHD PowerShell cmdlet (or any other method) to merge D1 into D. (Again, if you're using ReFS, this won't actually move any data.) D is now the VHD that you want from A1. Replicate the process for A2.