@Eshly786@Im___maryam Partly correct. It's got two answers since it's not stated that r has to be positive the solution must take both possible solutions for r which are: +7 or -7.
@Fran_Casaretto_ Soy ecuatoriano estoy de acuerdo con la señora: si no te gusta, regrésate. Es fácil. La Argentina para los argentinos, el Ecuador para los ecuatorianos, y así. Nada de imponer tus costumbres en otros lados. Donde fueres haz lo que vieres, recita el refrán.