Let x be the the maximum marks
First, you multiply x by 40%, and you get:


You move 0.4 to the other part. and since 0.4 was a multiplication, it become a division, so you get:

you divide, and you get:

So, the full marks are 150 points.
Hope this Helps! :)