My gosh, that poor guy is in really rough shape! Since you are new to reptiles, and have just 'inherited' him, I'm really surprised I'm the first to respond to these photos.
The bearded dragon is suffering from a serious medical condition with a mouthful of a name, "secondary nutritional...