They are simplified as follows which is enough for this question. This question is based on this answer.
[a][b][]
and
for($i = 0; $i < sizeof($array); $i++) { $mergedarray[a][b] = $a[a][b]; $mergedarray[a][c] = $b[a][c]; }
as far as i can tell this is what you want, that way both the sub-keys have the same root key.