You are adding multiple arrays to the where clause.
You can solve it like this, all the separate arrays put inside one single array in the where clause
Safety::with( ['imageName'] )->where([
['property_id', '=', $property->property_id ],
['unit_id', '=', $property->unit_id ],
['type','=', 'gas' ]
])->latest()->first()
Or use separate where clauses
Safety::with(['imageName'])
->where('property_id', $property->property_id)
->where('unit_id', $property->unit_id)
->where('type', 'gas')
->latest()
->first();
There are other solutions that you can use like using a RAW query but the syntax for this depends on which DB you use and personally I would do it like in the examples I gave you.