Determine heat flux from temperature profile
Your first line of thinking to part a) is correct. For conductive heat transfer through rectangular layers, the heat flux needs to be constant and equivalent through all layers for steady state, or you would have a 'build up' of heat at between one layer. This would locally increase the temperature, and we wouldn't be at steady state.

For b) your second approach to a) is useful. You know the relative sizes of the temperature gradients from the sketch, and know from a) that the heat flux must be the same for each slab. Combine these two and you will find a requirement on the relative magnitudes of the conductivities.