Which takes precedence: the 'aqīqah or the uḍḥiyyah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The 'aqīqah is an act of worship through which a servant draws closer to Allah the Almighty in gratitude for the blessing of a newborn child. It is a confirmed Sunnah for those who are financially capable, and Allah does not burden any soul beyond what it can bear.
However, the uḍḥiyyah takes precedence, as it is a confirmed Sunnah established from the Prophet ﷺ through stronger and more numerous narrations — indeed, the Ḥanafī scholars hold it to be obligatory. Furthermore, its time is narrow and limited, expiring with the passing of the days of Eid, whereas the 'aqīqah may be delayed until one becomes financially capable of performing it.
And Allah Almighty knows best.
What is the ruling on a person in a state of major impurity (junub) walking or eating before performing the ritual bath?
It is from the Sunnah for a Muslim to hasten to perform the ritual bath for major impurity. However, if he delays it, he does not sin provided he does not miss the prayer. It is permissible for the junub to walk, eat, drink, and sleep. It is recommended for him to perform ablution before these actions to reduce the state of impurity, although the best is for him to perform the ritual bath. And Allah the Almighty knows best.
Which is better for a traveler: fasting or breaking the fast?
Fasting is better, unless it causes hardship—in that case, breaking the fast is better.
What should the one performing the slaughter say at the time of slaughtering the 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
It is Sunnah to say the following supplication at the time of slaughtering the 'aqīqah:
"Bismillāhi wallāhu Akbar, Allāhumma laka wa ilayka, hādhihi 'aqīqatu fulān."
("In the name of Allah, and Allah is the Greatest. O Allah, this is for You and unto You — this is the 'aqīqah of [the child's name].")
This is based on what al-Bayhaqī narrated in Al-Sunan al-Kubrā (Vol.9/P.511), that the Prophet ﷺ said: "Slaughter it in his name and say: In the name of Allah, and Allah is the Greatest. O Allah, this is for You and unto You — this is the 'aqīqah of so-and-so."
And Allah Almighty knows best.