I think you may have stated the conditions incorrectly. In particular, "g'(x)≠0 for x≠c", I believe, should be "g'(x)≠0 for x=c", since that is all that is necessary for the limit of f'(x)/g'(x) to exist (which seems to be consistent with the definitions I've checked from other sources, then if...