Let the number of ribbons with Dora be x .
Number of ribbons with Lily = x - 4
Number of ribbons with Lily = 7
This can be written in an equation as :-



Which means Dora had 11 ribbons as ( x = number of ribbons with Dora ) .
Therefore , Dora has 11 ribbons .