Hey Henry, for the first one the easiest way would be to model that shape flat, and then bend those edges inwards after.
The ejection port would be a bit more tricky, but try creating the shape of the hole first and then connect it to the rectangular shape after. Edge by edge modeling would be a good candidate for this, as shown here: https://cgcookie.com/course/mesh-modeling-bootcamp