1.
Such a book does credit to the writer.
这样的书给作者带来声誉。
2.
Mary's painting would do credit to a real artist.
玛丽的画给一个真正的艺术家增添了荣誉。