Australia’s federal parliament has passed landmark changes to firearms and hate speech laws, here’s what you need to know.