Let spider = S, bee = B, ladybug = L.
S + B - L = 7.
Since B = 5 and L = 4, S + 5 - 4 = 7, so S + 1 = 7, and S = 6.