Development of learning devices with the PBL model using the Pythagoras theorem of RME approach