Complex sentence: The female will not lay an egg if the conditions are not optimal (temperature, nesting site,...) and if the first attempt fails, her time to lay an egg is reduced.
Split into simpler sentences: The female will not lay an egg if the conditions, such as temperature and nesting site, are not optimal. If the first attempt fails, her time to lay an egg is reduced.